package service;

import java.util.List;

import dao.loginentityDao;
import entity.loginentity;

public class loginentityservice {
		
	loginentityDao loginentity=new loginentityDao();
	/**
	 * 登陆
	 * @param phone
	 * @param userPassword
	 * @return
	 */
	public int cha(String phone,String userPassword){
		return loginentity.cha(phone, userPassword);
	}
	/**
	 * 用户信息
	 * @param phone
	 * @param userPassword
	 * @return
	 */
	public List<loginentity> userid(String phone,String userPassword){
		return loginentity.userid(phone, userPassword);
	}
}
